package cn.wp.ewallet.wallet.dao.impl;

import cn.wp.common.core.dao.JdbcSupportTemplate;
import cn.wp.ewallet.wallet.dao.ExchangeProcInfoDao;
import cn.wp.ewallet.wallet.model.entity.ExchangeProcInfoDo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * @ClassName ExchangeProcInfoDaoImpl
 * @Author ruixule
 * @Description TODO
 * @Date 2020/1/10 16:17
 */
@Repository
public class ExchangeProcInfoDaoImpl implements ExchangeProcInfoDao {
    @Autowired
    private JdbcSupportTemplate jdbcSupportTemplate;

    /**
     * 保存兑换处理 记录
     * @param exchangeProcInfoDo
     */
    @Override
    public void saveExchangeProInfo(ExchangeProcInfoDo exchangeProcInfoDo) {
        jdbcSupportTemplate.insert(exchangeProcInfoDo);
    }
}
